//Source file: D:\\aaa\\com\\ce\\pms\\renovation\\model\\InspectionViolationDO.java

package com.ce.pms.renovation.model;

import javax.persistence.DiscriminatorValue;
import javax.persistence.Entity;
import javax.persistence.JoinColumn;
import javax.persistence.OneToOne;

/**
 * 验收期违规
 */
@Entity
@DiscriminatorValue("0")
public class InspectionViolationDO extends AbstractViolationDO {

	/**
	 *
	 */
	private static final long serialVersionUID = 6435165986150358448L;
	/**
	 * 验收
	 */
	@OneToOne()
	@JoinColumn(name = "INSPECTION_ID")
	private AbstractInspectionDO inspection;

	/**
	 * @roseuid 493F89FF0157
	 */
	public InspectionViolationDO() {

	}

	public AbstractInspectionDO getInspection() {
		return inspection;
	}

	public void setInspection(AbstractInspectionDO inspection) {
		this.inspection = inspection;
	}
}
